FluentForm\App\Services\Form\FormValidationService C

Total Complexity 123
Dependencies 11
Dependents 1
Total lines 784
Lines of code 572
Logical lines of code 277
Comment lines 94
Methods 23
Properties 3

Methods 23

Method Rating Maintainability Complexity Lines of code
validateInput()
D
31 33 101
validateSubmission()
B
31 18 130
checkIpRestriction()
S
57 7 14
checkCountryRestriction()
S
59 7 13
validateReCaptcha()
S
50 5 30
handleDenyEmptySubmission()
S
56 5 18
checkKeywordsMatching()
S
61 5 13
delegateValidations()
S
59 5 13
validateHCaptcha()
S
51 4 27
validateTurnstile()
S
52 4 26
isSpam()
S
51 3 33
containsRestrictedKeywords()
S
61 4 12
validateNonce()
S
53 3 24
validateRestrictions()
S
53 3 23
preventMaliciousAttacks()
S
53 3 22
getIpInfo()
S
57 3 17
checkKeyWordRestriction()
S
56 2 18
handleSpamError()
S
62 3 10
handleRestrictedSubmission()
S
64 2 10
__construct()
S
80 1 3
setForm()
S
81 1 3
setFormData()
S
81 1 3
throwValidationException()
S
66 1 9